import react,{PureComponent} from "react"
export default class MGrid extends PureComponent{
	constructor(props){
		super(props);
		this.com="";
		this.state={
			
		}
	}
	render(){
		let {style = {},title}=this.props;
		style = {
			fontSize:"20px",
			padding:"10px",
			// marginTop:"10px",
			// marginLeft:"25px",
			...style,
		}
		return (
			<div ref={e=>this.com=e} className="mi-grid">
				<div style={style}>
					{title}
				</div>
			</div>
		)
	}

}